<template>
	<view class="question padding">
		<view class="cu-form-group margin-top margin-bottom-xl" >
			<textarea maxlength="-1" v-model="textareaAValue" @input="textareaAInput" placeholder="输入你遇到的问题" style="height: 30vh;"></textarea>
		</view>
		<button class="cu-btn block bg-blue margin-tb-sm lg" @click="subm">提交</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				textareaAValue:''
			}
		},
		methods: {
			textareaAInput(e) {
				this.textareaAValue = e.detail.value
			},
			subm(){
				uni.showToast({
					title:'提交成功'
				})
				this.textareaAValue=''
			}
		}
	}
</script>

<style>

</style>
